﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="Doctors.aspx.cs" Inherits="Doctors" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <h2>Doctors</h2>
    <asp:GridView ID="DoctorsGridView" runat="server" AutoGenerateColumns="False" OnRowCommand="DoctorsGridView_RowCommand">
        <Columns>
            <asp:BoundField DataField="DoctorID" HeaderText="ID" />
            <asp:BoundField DataField="Name" HeaderText="Name" />
            <asp:BoundField DataField="Specialty" HeaderText="Specialty" />
            <asp:BoundField DataField="LicenseNumber" HeaderText="License Number" />
            <asp:BoundField DataField="PhoneNumber" HeaderText="Phone Number" />
            <asp:ButtonField ButtonType="Button" CommandName="Edit" Text="Edit" />
        </Columns>
    </asp:GridView>
</asp:Content>

<asp:Content ID="Content3" ContentPlaceHolderID="ContentPlaceHolder2" Runat="Server">
    <h3>Add New Doctor</h3>
    <asp:TextBox ID="TextBox1" runat="server" Placeholder="Name"></asp:TextBox><br />
    <asp:TextBox ID="TextBox2" runat="server" Placeholder="Specialty"></asp:TextBox><br />
    <asp:TextBox ID="TextBox3" runat="server" Placeholder="License Number"></asp:TextBox><br />
    <asp:TextBox ID="TextBox4" runat="server" Placeholder="Phone Number"></asp:TextBox><br />
    <asp:Button ID="Button1" runat="server" Text="Add Doctor" OnClick="Button1_Click" />
</asp:Content>
